pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so
authorIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 12:24:35 +0000 (12:24 +0000)
committerIan Jackson <ian.jackson@citrix.com>
Fri, 22 Feb 2019 14:41:14 +0000 (14:41 +0000)
commit2e90edcf9660dff038a277d943cc48c605ca86a6
tree7d32cc9d1ce1407f57d062c780fd15a5e50fc3cc
parent9d2066809c29d3314db323039a226f6fff4a6a55
pygrub: Specify -rpath LIBEXEC_LIB when building fsimage.so

If LIBEXEC_LIB is not on the default linker search path, the python
fsimage.so module fails to find libfsimage.so.

Add the relevant directory to the rpath explicitly.

(This situation occurs in the Debian package, where
--with-libexec-libdir is used to put each Xen version's libraries and
utilities in their own directory, to allow them to be coinstalled.)

Signed-off-by: Ian Jackson <ian.jackson@citrix.com>
tools/pygrub/Makefile
tools/pygrub/setup.py